reset-ticks

 

Reset-ticks sets the tick counter back to zero. It is only used in models that use tick-based updates. Reset-ticks is usually found at the end of a setup procedure. In some models, the “disable until ticks start” box will be checked on the go button; this means the ticks must be reset for the model to run.

 

Try it Yourself

 
 
 
 
 
 
 

What's next?

Once you mastered the reset-ticks primitive, don't stop there. Check out the resources below to improve your NetLogo skills.

 
Published NetLogo models that use the reset-ticks primitive:
 
 
Similar primitives:
tick

Advance the tick counter by 1.

Read more
to

used to begin a command procedure

Read more
ask

a reporter that is used to make the agents in the agentset do something.

Read more
clear-all

clears all the drawings, turtles, plots, etc., leaving a blank slate.

Read more
 
Learn another primitive